<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>


<title>修改</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

</head>

<body>
	<form action="news_update.action" method="post">
		<input type="hidden" name="news.id" value="<s:property value="#request.newsDatail.id"/>">
		<p>
			标题：<input name="news.title" value="<s:property value="#request.newsDatail.title"/>">
		</p>
		<p>
			内容:<input name="news.summary" value="<s:property value="#request.newsDatail.summary"/> ">
		</p>
		<p>类型：<s:select list="#request.allCategory" listKey="id" listValue="name"  name="news.newsCategory.id"></s:select> </p>
		<p>时间：<input name="news.createdate" value="<s:property value="#request.newsDatail.createdate"/></p>
		<p>
			作者：<input name="news.author" value="<s:property value="#request.newsDatail.author"/>">
		</p>
		<p>
			<input type="submit" value="提交">
		</p>
	</form>
</body>
</html>
